<%@ page language="java" import="java.util.*,com.ncp.model.biz.product.*,com.ncp.model.dao.*,com.ncp.model.entity.product.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ArrayList listparent = (ArrayList)request.getAttribute("listparent");
ProductUpdateBean pub = (ProductUpdateBean)request.getAttribute("pub");


%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'updateProductSortName.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <form action="ManagerBasicUpdServlet" method="post">
   <table width="100%" border="1">
  <tr>
    <td width="20%" height="37"><input type="hidden" name="ProductID" value="<%=pub.getProductID()%>" >
    <input type="hidden" name="type" value="<%=pub.getType()%>" >原来信息：<%=pub.getProductSortName()%></td>
    <td width="8%">修改为：</td>
    <td width="72%"><label for="textarea"></label> 
   <select name="update" id="select">
        <%for(int i=0;i<listparent.size();i++){ 
    	ProductSortBean psb = (ProductSortBean)listparent.get(i);

    %>
        <option value="<%=psb.getProductSortID() %>">
        <%=psb.getProductSortName() %>
      </option>
       <% }%>
        </select>
         </td>
  </tr>
  
  <tr>
    <td><input type="submit" name="Submit" value="确定" /></td>
    <td colspan="2"><input type="reset" name="Submit2" value="重置" /></td>
  </tr>
</table>
</form>
  </body>
</html>
